<%-- 
    Document   : newroom
    Created on : 2013. 11. 8, 오후 4:38:37
    Author     : Sarah
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Is There a Seat? - PC Room Registration</title>
    </head>
    <body>
        <hr>
    <center><a href="index.jsp"><img src="logo.png"></a></center>
    <hr>
    <center>
        <p><a href="newroom.jsp"><img src="register.png"></a></p>
        <form action="PcroomServlet" method="post" charset="UTF-8">
            <table border="1">
                <tr>
                    <th><img src="signup_name.png"></th>
                    <th><input name="NAME" size="30" value="아주PC방"></th>
                </tr>
                <tr>
                    <th><img src="register_addr.png"></th>
                    <th><input name="ADDRESS" size="30" value="경기도 수원시 영통구 월드컵로"></th>
                </tr>
                <tr>
                    <th><img src="register_tel.png"></th>
                    <th><input name="TEL" size="30" value="031-219-2190"></th>
                </tr>
                <tr>
                    <th><img src="register_latitude.png"></th>
                    <th><input name="LAT" size="30" value="37.2781"></th>
                </tr>
                <tr>
                    <th><img src="register_longitude.png"></th>
                    <th><input name="LON" size="30" value="127.0443"></th>
                </tr>
            </table>
            <br>
            <hr>
            <br><img src="register_numbering.png"></br>
            <% for (int i = 1; i <= 10; i++) {
                    for (int j = 1; j <= 10; j++) {
                        out.println("<input name=\"" + i + "," + j + "\" size=\"5\">");
                    }
                    out.println("</br>");
                }
            %>
            <input type="submit" value="등록">
        </form>
    </center>
</body>
</html>
